import java.awt.Color;


public enum ClothesColor {
	red,
	orange,
	yellow,
	green,
	blue,
	purple,
	black,
	white;
	
	public static Color getColorVal(ClothesColor clothesColor)
	{
		if(clothesColor == ClothesColor.red)
		{
			return Color.red;
		}
		else if(clothesColor == ClothesColor.orange)
		{
			return Color.orange;
		}
		else if(clothesColor == ClothesColor.yellow)
		{
			return Color.yellow;
		}
		else if(clothesColor == ClothesColor.green)
		{
			return Color.green;
		}
		else if(clothesColor == ClothesColor.blue)
		{
			return Color.blue;
		}
		else if(clothesColor == ClothesColor.purple)
		{
			return new Color(160, 32, 240);
		}
		else if(clothesColor == ClothesColor.black)
		{
			return Color.black;
		}
		else
		{
			return Color.white;
		}
	}
}
